package com.pagoda.nerp.web.repositories;

import com.pagoda.nerp.web.entities.UserMapping;
import org.springframework.data.repository.CrudRepository;

/**
 * @Author:HXB
 * @Description
 * @Date Create in 11:36 2017/12/29
 * @Modified By
 **/


public interface UserMappingDao extends CrudRepository<UserMapping,String>{
    public UserMapping findByEhridAndUsername(String ehrid,String username);

    public UserMapping findByErpidAndUsername(String erpid,String username);
}
